﻿@using LX.NHibernate.Data.Domain
@using LX.NHibernate.Utils;
@using System.Web.Optimization;
@model IList<User_Info>
@{
    ViewBag.Title = "getList";
}
@*<link href="~/Style/PageBar.css" rel="stylesheet" />*@
<link href="~/Style/PagedList.css" rel="stylesheet" />

<h2>getList</h2>

@{
    if (Model.Count > 0)
    {
        foreach (var thisValue in Model)
        {
            <ul>
                <li>@thisValue.User_Name</li>
                <li>@thisValue.Password</li>
                <li>@thisValue.Create_Date</li>
            </ul>
        }
        int pageIndex = ViewBag.pageIndex;
        int PageCount = ViewBag.PageCount;
        int count = ViewBag.Total;
        int pageSize = ViewBag.pageSize;
        
        @Html.ShowPageBarMvc("/user/getList", pageIndex, pageSize, count, "kw=sd")
    }
}
